package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mingqijia.gassafety.db.entity.annotation.OperateLogFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author wanghai
 * @since 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_service_combo_detail")
@ApiModel(value="t_service_combo_detail对象", description="服务套餐详情")
public class ServiceComboDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    @OperateLogFiled(name = "服务套餐ID")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "套餐id")
    @TableField("pkg_id")
    private Integer pkgId;

    @ApiModelProperty(value = "套餐名称")
    @TableField("pkg_name")
    private String pkgName;

    @ApiModelProperty(value = "服务订单号")
    @TableField("order_code")
    private String orderCode;

    @ApiModelProperty(value = "服务项编码 1-sos报警器 2-漏水报警 3-烟雾报警 4-门锁报警")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "一次产品 0-是，1-否")
    @TableField("is_one_time")
    private Integer isOneTime;

}
